package dancespeedymodelmysql

import (
	"gorm.io/gorm"
	"time"
)

type DanceUserElementReleaseLog struct {
	Id                   int64          `json:"id" gorm:"primaryKey;autoIncrement;comment:临时用的，测试阶段，记录用户信息得，后面要删除掉"`
	BarrageOpenId        string         `json:"barrageOpenId" gorm:"column:barrage_open_id;type:varchar(255);not null;default:'';comment: 抖音用户id"`     //
	BarrageNickname      string         `json:"barrageNickname" gorm:"column:barrage_nick_name;type:varchar(255);not null;default:'';comment: 抖音用户昵称"` //
	SuitId               int64          `json:"suitId" gorm:"column:suit_id;type:bigint;default:0;not null;comment:套装id"`                              // 更新人id
	SuitExpiredTime      int64          `json:"suitExpiredTime" gorm:"column:suit_expired_time;type:bigint;default:0;not null;comment:过期时间"`           // 更新人id
	WingsExpiredTime     int64          `json:"wingsExpiredTime" gorm:"column:wings_expired_time;type:bigint;default:0;not null;comment:翅膀过期时间"`       // 更新人id
	IssueTime            int64          `json:"issueTime" gorm:"column:issue_Time;type:bigint;default:0;not null;comment:道具发放时间"`
	WingsId              int64          `json:"wingsId" gorm:"column:wings_id;type:bigint;default:0;not null;comment:散件id"`                                   //
	ElementNo            int64          `json:"elementNo" gorm:"column:element_no;type:bigint;default:0;not null;comment:散件id"`                               //
	ElementNoExpiredTime int64          `json:"elementNoExpiredTime" gorm:"column:element_no_expired_time;type:bigint;default:0;not null;comment:散件过期时间过期时间"` // 更新人id
	IssuanceType         int64          `json:"issuanceType" gorm:"column:issuance_type;type:bigint;default:0;not null;comment:发放途径"`                         //1:单人排行榜脚本发放的;2:双人排行榜发放
	DataType             int            `json:"dataType" gorm:"column:data_type;type:tinyint;default:0;not null;comment:数据类型 1:套装 2翅膀"`                       // 是否缓存 0否 1是
	CreatedAt            time.Time      `json:"createdAt" gorm:"column:created_at;type:datetime"`
	UpdatedAt            time.Time      `json:"updatedAt" gorm:"column:updated_at;type:datetime"`
	DeletedAt            gorm.DeletedAt `json:"-" gorm:"index;type:datetime"`
}
